<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no, email=no">
    <title>积分获得</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", STHeiti, "Microsoft Yahei", Tahoma, Simsun, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            background-attachment: fixed;
            color: #333;
            line-height: 1.6;
            padding-bottom: 20px;
            min-height: 100vh;
        }
        
        #header {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            height: 50px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .header_con {
            display: flex;
            align-items: center;
            height: 100%;
            max-width: 800px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .header_con a {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: #2575fc;
            font-weight: 600;
            margin-right: 15px;
        }
        
        .header_con a span {
            display: inline-block;
            width: 24px;
            height: 24px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232575fc"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg>');
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }
        
        .top_tit {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            flex: 1;
            text-align: center;
        }
        
        .container {
            max-width: 800px;
            margin: 20px auto;
            padding: 0 15px;
        }
        
        .card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            padding: 25px;
            margin-bottom: 25px;
            overflow: hidden;
            position: relative;
        }
        
        .card-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .card-title {
            font-size: 24px;
            font-weight: 700;
            color: #2575fc;
            margin-bottom: 5px;
            position: relative;
            display: inline-block;
        }
        
        .card-title::after {
            content: '';
            display: block;
            width: 50px;
            height: 3px;
            background: linear-gradient(to right, #6a11cb, #2575fc);
            margin: 8px auto 0;
            border-radius: 3px;
        }
        
        .card-subtitle {
            color: #666;
            font-size: 16px;
        }
        
        .points-info {
            background: linear-gradient(135deg, #6a11cb, #2575fc);
            border-radius: 12px;
            padding: 20px;
            color: white;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
        }
        
        .points-value {
            font-size: 36px;
            font-weight: 700;
            text-align: center;
            margin-bottom: 10px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .points-label {
            text-align: center;
            font-size: 16px;
            opacity: 0.9;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 600;
            color: #2575fc;
            margin: 25px 0 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f5ff;
            display: flex;
            align-items: center;
        }
        
        .section-title::before {
            content: '';
            display: inline-block;
            width: 6px;
            height: 18px;
            background: #2575fc;
            border-radius: 3px;
            margin-right: 10px;
        }
        
        .rule-list {
            list-style: none;
        }
        
        .rule-list li {
            padding: 15px 15px 15px 40px;
            margin-bottom: 15px;
            background: #f8faff;
            border-radius: 12px;
            position: relative;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            border-left: 3px solid #2575fc;
            transition: transform 0.3s ease;
        }
        
        .rule-list li:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .rule-list li::before {
            content: '';
            position: absolute;
            left: 15px;
            top: 18px;
            width: 8px;
            height: 8px;
            background: #2575fc;
            border-radius: 50%;
        }
        
        .rule-points {
            display: inline-block;
            background: #2575fc;
            color: white;
            padding: 3px 10px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 600;
            margin-left: 5px;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .btn {
            flex: 1;
            padding: 15px;
            text-align: center;
            border-radius: 12px;
            font-weight: 600;
            font-size: 16px;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .btn-invite {
            background: linear-gradient(135deg, #6a11cb, #2575fc);
            color: white;
            box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
        }
        
        .btn-share {
            background: linear-gradient(135deg, #ff9a9e, #fad0c4);
            color: #333;
            box-shadow: 0 5px 15px rgba(255, 154, 158, 0.4);
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }
        
        .btn:active {
            transform: translateY(1px);
        }
        
        .btn-icon {
            width: 20px;
            height: 20px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }
        
        .invite-icon {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>');
        }
        
        .share-icon {
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"/></svg>');
        }
        
        .important-note {
            background: #fff8e6;
            border-left: 4px solid #ffc107;
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
            font-size: 14px;
        }
        
        .note-title {
            font-weight: 600;
            color: #e65100;
            margin-bottom: 5px;
        }
        
        footer {
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
            padding: 20px;
            margin-top: 20px;
        }
        
        @media (max-width: 480px) {
            .container {
                padding: 0 10px;
            }
            
            .card {
                padding: 20px 15px;
            }
            
            .points-value {
                font-size: 28px;
            }
            
            .action-buttons {
                flex-direction: column;
            }
        }
    </style>
</head>
<body>
    <header id="header">
        <div class="header_con">
            <a href="integral.html">
                <span></span>
                返回
            </a> 
            <div class="top_tit">积分获得</div>
        </div>
    </header>
    
    <div class="container">
        <div class="card">
            <div class="card-header">
                <h1 class="card-title">积分规则</h1>
                <p class="card-subtitle">邀请好友获取积分，享受更多权益</p>
            </div>
            
            <div class="points-info">
                <div class="points-value">1280 分</div>
                <div class="points-label">当前可用积分</div>
            </div>
            
            <h2 class="section-title">如何获得积分</h2>
            <ul class="rule-list">
                <li>
                    邀请好友注册：每成功邀请1位好友注册
                    <span class="rule-points">+3分</span>
                </li>
                <li>
                    好友活跃奖励：被邀请好友每月的答题得分
                    <span class="rule-points">按1%累加</span>到您的账户
                </li>
                <li>
                    每日分享奖励：每日分享成绩或活动
                    <span class="rule-points">+3分</span>（每日限1次）
                </li>
                <li>
                    月度奖励：每月根据积分排名发放额外奖励
                </li>
                <li>
                    积分有效期：积分永久有效（特殊活动除外）
                </li>
            </ul>
            
            <div class="important-note">
                <div class="note-title">重要提示：</div>
                <p>1. 积分可用于兑换礼品、参与抽奖及获取会员权益</p>
                <p>2. 月度中奖后系统将自动扣除对应积分</p>
                <p>3. 管理员保留最终解释权及积分调整权限</p>
            </div>
            
            <div class="action-buttons">
                <button class="btn btn-invite">
                    <span class="btn-icon invite-icon"></span>
                    邀请好友
                </button>
                <button class="btn btn-share">
                    <span class="btn-icon share-icon"></span>
                    分享活动
                </button>
            </div>
        </div>
        
        <div class="card">
            <h2 class="section-title">积分攻略</h2>
            <ul class="rule-list">
                <li>
                    <strong>多邀请好友：</strong>邀请越多好友，获得的基础积分越多
                </li>
                <li>
                    <strong>邀请活跃用户：</strong>邀请活跃用户可带来持续积分增长
                </li>
                <li>
                    <strong>每日分享：</strong>坚持每日分享，每月最多可获90分
                </li>
                <li>
                    <strong>参与活动：</strong>关注平台活动，获取额外积分奖励
                </li>
            </ul>
        </div>
    </div>
    
    <footer>
        <p>© 2023 积分平台 | 让每一次参与都有价值</p>
    </footer>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 模拟用户积分数据
            const userPoints = Math.floor(Math.random() * 2000) + 500;
            document.querySelector('.points-value').textContent = userPoints + ' 分';
            
            // 按钮点击效果
            const buttons = document.querySelectorAll('.btn');
            buttons.forEach(button => {
                button.addEventListener('click', function() {
                    this.classList.add('btn-active');
                    setTimeout(() => {
                        this.classList.remove('btn-active');
                        
                        if(this.classList.contains('btn-invite')) {
                            alert('邀请链接已复制到剪贴板！\nhttps://jifen.com/invite/12345');
                        } else {
                            alert('分享功能已激活，请选择分享平台');
                        }
                    }, 300);
                });
            });
            
            // 添加动画效果
            const ruleItems = document.querySelectorAll('.rule-list li');
            ruleItems.forEach((item, index) => {
                item.style.animationDelay = `${index * 0.1}s`;
                item.classList.add('animate-rule');
            });
        });
    </script>
</body>
</html>